﻿<Window x:Class="Mp4Explorer.ErrorWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    SizeToContent="WidthAndHeight"
    Icon="/Mp4Explorer;component/Images/error_16.png"
    Title="Error"
    WindowStartupLocation="CenterScreen"
    ShowInTaskbar="False"
    ResizeMode="NoResize">
    <Grid x:Name="LayoutRoot" Width="405">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock x:Name="IntroductoryText" Grid.Row="0" Margin="4,4,4,4" 
               Text="An unknown error was encountered. Please contact your provider for more information." Width="400" TextWrapping="Wrap" HorizontalAlignment="Left"/>
        <StackPanel x:Name="ContentStackPanel" Grid.Row="2" Margin="4,6,4,0">
            <TextBlock x:Name="LabelText" TextWrapping="Wrap" Margin="0,0,0,2" 
                       Text="Error details"/>
            <TextBox x:Name="ErrorTextBox" Height="90" TextWrapping="Wrap" IsReadOnly="True"
                     VerticalScrollBarVisibility="Auto"/>
        </StackPanel>
        <Button Name="buttonOK" Grid.Row="3" Click="buttonOK_Click" 
            Width="75" Height="23" HorizontalAlignment="Right" Margin="0,10,4,4" 
            TabIndex="0" Content="OK"/>
    </Grid>
</Window>
